package com.neu.service;

import java.util.List;

import com.github.pagehelper.PageInfo;

import com.neu.po.Dept;

import com.neu.po.Emp;
import com.neu.po.Post;

public interface EmpService {
	
	Emp getByDept(Dept dept);
	
	PageInfo<Emp> getPaged(int pageNum,int pageSize);
	
	List<Emp> getByPost(Post post);
	
	int insert(Emp emp);
	
	int delete(Emp emp);

	List<Emp> getAll();
	
	List<Emp> getById(int id);

	int update(Emp emp);
	
}
